package designPatterns.proxy.jdk;

/**
 * 被代理对象 接口实现类
 */
public class SimpleCalculator implements Calculator {

    @Override
    public int add(int a, int b) {
        return a + b;
    }

    @Override
    public int subtract(int a, int b) {
        return a - b;
    }

}